
package com.be.beadmin.product.service;

import com.be.beadmin.common.entity.PageEntity;
import com.be.beadmin.product.dto.input.DrawingPrintHstDto;
import com.be.beadmin.product.dto.input.DrawingPrintHstDtoByWoIdAndPage;
import com.be.beadmin.product.dto.output.DrawingPrintHstEx;
import org.springframework.data.domain.Page;

import java.util.List;

/**
* @description 服务接口
* @author ljh
* @date 2023-04-03
**/
public interface DrawingPrintHstService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<DrawingPrintHstEx> getDrawingPrintHstByPage(PageEntity pageEntity);

    /**
     * 分页的查询接口
     * @param drawingPrintHstDtoByWoIdAndPage
     * @return
     */
    Page<DrawingPrintHstEx>  getDrawingPrintHstByWoIdAndPage(DrawingPrintHstDtoByWoIdAndPage drawingPrintHstDtoByWoIdAndPage);

    /**
    * @param drawingPrintHstDto
    */
    void addDrawingPrintHst(DrawingPrintHstDto drawingPrintHstDto);

    /**
    * @param drawingPrintHstDto
    */
    void updateDrawingPrintHst(DrawingPrintHstDto drawingPrintHstDto);

    /**
    * @param id
    */
    void delDrawingPrintHst(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delDrawingPrintHsts (List<String> ids);

    void addDrawingPrintHst2(DrawingPrintHstDto drawingPrintHstDto);
}